package de.carcophan.jimdb.gwt.server.util;

import static org.junit.Assert.*;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

import org.apache.commons.codec.binary.Base64;
import org.junit.Test;

public class PasswordTest {

   @Test
   public void test() throws UnsupportedEncodingException, NoSuchAlgorithmException {
      PasswordUtil password = new PasswordUtil();
      String hash = password.getHash("123456");
      System.out.println(hash);
      System.out.println(hash.length());

   }

}
